package com.share.device.service;

import com.alibaba.fastjson2.JSONObject;

public interface IMapService {

    JSONObject calculateLatLng(String keyword);

    /**
     * 计算当前位置到门店的距离
     * @param startLongitude
     * @param startLatitude
     * @param endLongitude
     * @param endLatitude
     * @return
     */
    Double calculateDistance(String startLongitude,String startLatitude,String endLongitude,String endLatitude);
}
